year = 2020
if (year % 4 and (not year % 400==0))or year % 100 ==0:
    print ("yes")
else:
    print ("no")
if year % 100 ==0 and year % 400 ==0:
    print ("yes")
else:
    print ("no")